﻿<?xml version="1.0" encoding="utf-8" ?>
<!-- Config file for generating VITA entities for AdventureWorks database. -->
<Entitygen>
  <Provider>MSSQL</Provider>
  <ConnectionString>Data Source=.;Initial Catalog=AdventureWorks2012;Integrated Security=True</ConnectionString>
  <Namespace>Vita.Samples.AdvWorks</Namespace>
  <AppClassName>AdvWorksEntityModel</AppClassName>
  <!-- Will go into bin folder. -->
  <OutputPath>_AdvWorksEntities_MsSql.cs</OutputPath>
  <!-- List of schema names in database. If empty, all schemas are included. -->
  <Schemas></Schemas>
  <!--Comma-delimited list of DbFirstOptions enum values -->
  <Options>GenerateConsoleAppCode, AddOneToManyLists</Options>
  <!-- AutoValues lists column/property names that are auto-values (automatically generated), so code generator will add 
     [Auto(AutoType.*)] attribute to these properties. Comma-delited list of pairs <columnName>:<AutoType>  -->
  <AutoValues>ModifiedData:UpdatedOn,DateCreated:CreatedOn</AutoValues>

</Entitygen>